package com.mlming.springboot.service;

import com.mlming.springboot.form.UserForm;
import com.mlming.springboot.pojo.User;
import com.mlming.springboot.vo.ResponseVo;
import com.mlming.springboot.vo.UserVo;

public interface UserService {
    /**
     * 验证学号功能
     */
    ResponseVo schoolNumCheck(String schoolNum);
    /**
     * 验证用户名功能
     */
    ResponseVo usernameCheck(String username);
    /**
     * 验证密码功能
     */
    ResponseVo passwordCheck(String password);

    /**
     * 注册功能
     */
    ResponseVo<UserVo> register(UserForm user);

    /**
     * 登陆功能
     */
    ResponseVo<UserVo> login(UserForm user);
}
